package dao.base;

import java.util.List;

public interface Dao<T> {

    List<T> selectAll();

    int insert(T t);

    int batchInsert(List<T> t);

    int updateByPrimaryKey(T t);

    int deleteByPrimaryKey(T t);


}
